#as: -32
#objdump: -dr --prefix-addresses -Mgpr-names=numeric
#name: LD with relocation operators

.*file format.*

Disassembly of section \.text:
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$4\)
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$4\)
[0-9a-f]+ <[^>]*> lw	\$5,32767\(\$4\)
[0-9a-f]+ <[^>]*> lw	\$4,32763\(\$4\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$4,32764
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$4,32767
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> lui	\$1,0x1
[0-9a-f]+ <[^>]*> addu	\$1,\$4,\$1
[0-9a-f]+ <[^>]*> lw	\$4,-32768\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,-32764\(\$1\)
#--------------------------------------------------------------------
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$5\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$5\)
[0-9a-f]+ <[^>]*> lw	\$4,32763\(\$5\)
[0-9a-f]+ <[^>]*> lw	\$5,32767\(\$5\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$5,32764
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$5,32767
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> lui	\$1,0x1
[0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
[0-9a-f]+ <[^>]*> lw	\$4,-32768\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,-32764\(\$1\)
[0-9a-f]+ <[^>]*> lui	\$1,0x3
[0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
[0-9a-f]+ <[^>]*> lw	\$4,32763\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,32767\(\$1\)
[0-9a-f]+ <[^>]*> lui	\$1,0x3
[0-9a-f]+ <[^>]*> ori	\$1,\$1,0x7ffc
[0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> lui	\$1,0x3
[0-9a-f]+ <[^>]*> ori	\$1,\$1,0x7fff
[0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> lui	\$1,0x4
[0-9a-f]+ <[^>]*> addu	\$1,\$5,\$1
[0-9a-f]+ <[^>]*> lw	\$4,-32768\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,-32764\(\$1\)
#--------------------------------------------------------------------
[0-9a-f]+ <[^>]*> li	\$1,0
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> li	\$1,0
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$0\)
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$0\)
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
[0-9a-f]+ <[^>]*> li	\$1,-30875
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> li	\$1,4661
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
#--------------------------------------------------------------------
[0-9a-f]+ <[^>]*> addiu	\$1,\$4,0
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$4,0
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$4\)
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$4\)
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
#--------------------------------------------------------------------
[0-9a-f]+ <[^>]*> addiu	\$1,\$5,0
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$5,0
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$5\)
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$5\)
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_GPREL16	foo
[0-9a-f]+ <[^>]*> addiu	\$1,\$5,-30875
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$5,4661
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$5,-30875
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_LO16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
[0-9a-f]+ <[^>]*> addiu	\$1,\$5,4661
[ 	]*[0-9a-f]+: R_(MICRO|)MIPS_HI16	foo
[0-9a-f]+ <[^>]*> lw	\$4,0\(\$1\)
[0-9a-f]+ <[^>]*> lw	\$5,4\(\$1\)
#pass
